package com.POJO;

import java.util.List;

public class User {
    public int Id;
    public String username;
    public String password;
    public List<Orders> OrderList;

    public int getId() {
        return Id;
    }

    public void setId(int id) {
        Id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public List<Orders> getOrderList() {
        return OrderList;
    }

    public void setOrderList(List<Orders> orderList) {
        OrderList = orderList;
    }

    @Override
    public String toString() {
        return "User{" +
                "Id=" + Id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", OrderList=" + OrderList +
                '}';
    }
}
